package com.worthtech.billportal.service;

import java.util.List;

import com.worthtech.billportal.bean.CodeDefine;
import com.worthtech.billportal.bean.TransCtrlView;
import com.worthtech.billportal.bean.WtTrainsLimit;

public interface LimitService {
	public void saveLimit(WtTrainsLimit limit);
	
	public List selObj(String tablename, int mercode,
			int trmcode,String sql);
	
	public boolean getCount(String tableName, String condition);
	
	public String countNum(String tableName, String condition);
	
	public List selLimitInfo(WtTrainsLimit limit,String sql);
	
	public void updateLimitinfo(WtTrainsLimit limit);
	
	public void delLimitInfo(WtTrainsLimit limit);
	
	public List<CodeDefine> selCodeDefine(String str);
	
	public TransCtrlView getInfo(String tableName, String condition);
}
